import http from '@/utils/http.js'
// 订单页模块封装

/**
 * 获取结算信息
 */
export const getCheckInfoAPI = () => {
  return http ({
    url: '/member/order/pre'
  })
}

// 创建订单
export const createOrderAPI = (data) => {
  return http ({
    url: '/member/order',
    method:'POST',
    data
  })
}